/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface FichaDAO {
	public Ficha loadFichaByORMID(int id) throws PersistentException;
	public Ficha getFichaByORMID(int id) throws PersistentException;
	public Ficha loadFichaByORMID(int id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Ficha getFichaByORMID(int id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Ficha loadFichaByORMID(PersistentSession session, int id) throws PersistentException;
	public Ficha getFichaByORMID(PersistentSession session, int id) throws PersistentException;
	public Ficha loadFichaByORMID(PersistentSession session, int id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Ficha getFichaByORMID(PersistentSession session, int id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Ficha[] listFichaByQuery(String condition, String orderBy) throws PersistentException;
	public Ficha[] listFichaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Ficha[] listFichaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Ficha[] listFichaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Ficha loadFichaByQuery(String condition, String orderBy) throws PersistentException;
	public Ficha loadFichaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Ficha loadFichaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Ficha loadFichaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Ficha createFicha();
	public boolean save(orm.Ficha ficha) throws PersistentException;
	public boolean delete(orm.Ficha ficha) throws PersistentException;
	public boolean deleteAndDissociate(orm.Ficha ficha) throws PersistentException;
	public boolean deleteAndDissociate(orm.Ficha ficha, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Ficha ficha) throws PersistentException;
	public boolean evict(orm.Ficha ficha) throws PersistentException;
	public Ficha loadFichaByCriteria(FichaCriteria fichaCriteria);
	public Ficha[] listFichaByCriteria(FichaCriteria fichaCriteria);
}
